package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 跟进记录对象 crm_follow_up
 * 
 * @author Bill
 * @date 2024-06-24
 */
public class CrmFollowUp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 学员（学员ID） */
    private Long studentId;

    /** 跟进用户（跟进用户ID） */
    @Excel(name = "跟进用户", readConverterExp = "跟=进用户ID")
    private Long followUpId;

    /** 跟进时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "跟进时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date followUpTime;

    /** 跟进方式（编码） */
    @Excel(name = "跟进方式", readConverterExp = "编=码")
    private Integer followUpContactCode;

    /** 跟进记录内容 */
    @Excel(name = "跟进记录内容")
    private String followUpRecords;

    /** 创建人（用户ID） */
    private Long createUser;

    /** 最后更新人（用户ID） */
    private Long updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setFollowUpId(Long followUpId) 
    {
        this.followUpId = followUpId;
    }

    public Long getFollowUpId() 
    {
        return followUpId;
    }

    public void setFollowUpTime(Date followUpTime) 
    {
        this.followUpTime = followUpTime;
    }

    public Date getFollowUpTime() 
    {
        return followUpTime;
    }

    public void setFollowUpContactCode(Integer followUpContactCode) 
    {
        this.followUpContactCode = followUpContactCode;
    }

    public Integer getFollowUpContactCode() 
    {
        return followUpContactCode;
    }

    public void setFollowUpRecords(String followUpRecords) 
    {
        this.followUpRecords = followUpRecords;
    }

    public String getFollowUpRecords() 
    {
        return followUpRecords;
    }

    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }

    public Long getCreateUser()
    {
        return createUser;
    }

    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser()
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("followUpId", getFollowUpId())
            .append("followUpTime", getFollowUpTime())
            .append("followUpContactCode", getFollowUpContactCode())
            .append("followUpRecords", getFollowUpRecords())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
